import { WEBSOCKETS, toSuccess } from "@sker/core"
import { container } from "tsyringe"


export default async () => {
    const sockets = container.resolve(WEBSOCKETS)
    return toSuccess(sockets.size)
}
